﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using KPIS.GERP.Models.HRM;
using KPIS.GERP.Models.SYS;

namespace KPIS.GERP.Models.ViewModel
{
    public class ApproverPassCondition
    {
        [DataMember] public int EmpId { get; set; }
        [DataMember] public int? ExecPosId { get; set; }
        [DataMember] public int? ByExecPosId { get; set; }
        [DataMember] public int? ByPosId { get; set; }
        [DataMember] public decimal? AmountMin { get; set; }
        [DataMember] public decimal? AmountMax { get; set; }
        [DataMember] public virtual bool IsApproveAble { get; set; }
        [DataMember] public virtual bool IsForwardable { get; set; }
        [DataMember] public virtual bool IsRejectable { get; set; }
        [DataMember] public virtual bool IsPendable { get; set; }
        [DataMember] public virtual bool IsSendBackable { get; set; }
        [DataMember] public virtual bool IsLockable { get; set; }
        [DataMember] public virtual bool IsTakebackAble { get; set; }
        [DataMember] public ApproverType ApproverType { get; set; }
        [DataMember] public Employee Employee { get; set; }
    }
}